
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>中文测试</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
</head>
<body>
<?php

require_once ../function.php;
	$conn = &ADONewConnection('mysqli');
	$conn->debug = false;
	$conn->Connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
	if (!$conn){
		$msg = "MySQL Connect Failed!";
		die("Mysql 连接失败！");
	}
	//$conn->Execute('SET NAMES GBK');
	$ADODB_FETCH_MODE = ADODB_FETCH_ASdSOC;

	$re = dbGetListByProcedure($conn ,"CALL bus_info(123521)");
	$info =array();
	foreach($re as $t){
		array_push($info,array('uid' => $t['uid'],
							'kbao1' => $t['kbao1'], 'kbao2' => $t['kbao2'],
							'kbi1' => $t['kbi1'], 'kbi2' => $t['kbi2'],
							'kbao3' => $t['kbao3'], 'kbi3' => $t['kbi3'],
							'nick' => $t['knick'] )
		);
	}
	
	$conn->Close();
	
	var_dump($info);	
	
?>

</body></html>



